<include file="Public/header" title="角色列表" />
<include file="Public/sidebar" />



<!-- 内容开始 -->
<div class="col-sm-9 col-xm-9 col-md-10  content">
<table class="table">
	<tr>
		<th>ID</th>
		<th>角色名称</th>
		<th>状态</th>
		<th>角色描述</th>
		<th>操作</th>
	</tr>
	<foreach name="role" item="v">
		<tr>
			<td>{$v.id}</td>
			<td>{$v.name}</td> 
			<td>
				<if condition="$v['status'] eq 1 "> 开启
				<else /> 禁用
				</if>
			</td>
			<td>{$v.remark}</td>
			<td>
			[<a href="{:U('/__CONTROLLER__/access',array('rid'=>$v['id']))}">配置权限</a>]
			[<a href="#">修改</a>]
			</td>
		</tr>
	</foreach>

</table>
</div>
<!-- 内容结束 -->


<include file="Public/footer"  />
